<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ServoCtrl: src/lpc_types.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">ServoCtrl
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">src/lpc_types.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Contains the NXP ABL typedefs for C standard types. It is intended to be used in ISO C conforming development environments and checks for this insofar as it is possible to do so.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br/>
</div>
<p><a href="lpc__types_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr class="memitem:gafb6827323e4c501477936a84bd733b4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafb6827323e4c501477936a84bd733b4f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PARAM_SETSTATE</b>(State)&#160;&#160;&#160;((State==RESET) || (State==SET))</td></tr>
<tr class="memitem:ga5475435ea985fe5abbf2048e87e3e682"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5475435ea985fe5abbf2048e87e3e682"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PARAM_FUNCTIONALSTATE</b>(State)&#160;&#160;&#160;((State==DISABLE) || (State==ENABLE))</td></tr>
<tr class="memitem:ga7ee022f5e5a971a8324e4b7572d49170"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7ee022f5e5a971a8324e4b7572d49170"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>_BIT</b>(n)&#160;&#160;&#160;(1&lt;&lt;n)</td></tr>
<tr class="memitem:ga6caca3483c2ce446900be05ea02e8f49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6caca3483c2ce446900be05ea02e8f49"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>_SBF</b>(f, v)&#160;&#160;&#160;(v&lt;&lt;f)</td></tr>
<tr class="memitem:ga78ad3421dde54769e8b46d36819ae87a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga78ad3421dde54769e8b46d36819ae87a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>_BITMASK</b>(field_width)&#160;&#160;&#160;( _BIT(field_width) - 1)</td></tr>
<tr class="memitem:ga070d2ce7b6bb7e5c05602aa8c308d0c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga070d2ce7b6bb7e5c05602aa8c308d0c4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>NULL</b>&#160;&#160;&#160;((void*) 0)</td></tr>
<tr class="memitem:gafdd9296176e56fcfd83c07d345a045a7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafdd9296176e56fcfd83c07d345a045a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>NELEMENTS</b>(array)&#160;&#160;&#160;(sizeof (array) / sizeof (array[0]))</td></tr>
<tr class="memitem:ga10b2d890d871e1489bb02b7e70d9bdfb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga10b2d890d871e1489bb02b7e70d9bdfb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATIC</b>&#160;&#160;&#160;static</td></tr>
<tr class="memitem:ga77366c1bd428629dc898e188bfd182a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga77366c1bd428629dc898e188bfd182a3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN</b>&#160;&#160;&#160;extern</td></tr>
<tr class="memitem:gafa99ec4acc4ecb2dc3c2d05da15d0e3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafa99ec4acc4ecb2dc3c2d05da15d0e3f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MAX</b>(a, b)&#160;&#160;&#160;(((a) &gt; (b)) ? (a) : (b))</td></tr>
<tr class="memitem:ga3acffbd305ee72dcd4593c0d8af64a4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3acffbd305ee72dcd4593c0d8af64a4f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MIN</b>(a, b)&#160;&#160;&#160;(((a) &lt; (b)) ? (a) : (b))</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gab7d263072f745b4f3913fb0afc434c4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab7d263072f745b4f3913fb0afc434c4e"></a>
typedef enum <a class="el" href="group___l_p_c___types___public___types.html#ga89136caac2e14c55151f527ac02daaff">FlagStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IntStatus</b></td></tr>
<tr class="memitem:ga7fab312a9f10f1386a955977d2ec96fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7fab312a9f10f1386a955977d2ec96fe"></a>
typedef enum <a class="el" href="group___l_p_c___types___public___types.html#ga89136caac2e14c55151f527ac02daaff">FlagStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetState</b></td></tr>
<tr class="memitem:ga2d6ebcfe3babcb204d017c685825a4d8"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga2d6ebcfe3babcb204d017c685825a4d8">PFV</a> )()</td></tr>
<tr class="memitem:ga39628beaa6435daa2ae29ba204c920da"><td class="memItemLeft" align="right" valign="top">typedef int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga39628beaa6435daa2ae29ba204c920da">PFI</a> )()</td></tr>
<tr class="memitem:gaebb9e13210d88d43e32e735ada43a425"><td class="memItemLeft" align="right" valign="top">typedef char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gaebb9e13210d88d43e32e735ada43a425">CHAR</a></td></tr>
<tr class="memitem:ga7353117656180c64d2216c874998b98b"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga7353117656180c64d2216c874998b98b">UNS_8</a></td></tr>
<tr class="memitem:gac172005ce53b001f50a677cc10bd17b0"><td class="memItemLeft" align="right" valign="top">typedef int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gac172005ce53b001f50a677cc10bd17b0">INT_8</a></td></tr>
<tr class="memitem:gafce87a7f2271b2cf38d7532f157f8a50"><td class="memItemLeft" align="right" valign="top">typedef uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gafce87a7f2271b2cf38d7532f157f8a50">UNS_16</a></td></tr>
<tr class="memitem:gaae6e34a91bf60db05de64de7720df9a5"><td class="memItemLeft" align="right" valign="top">typedef int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gaae6e34a91bf60db05de64de7720df9a5">INT_16</a></td></tr>
<tr class="memitem:ga28adf5c6b1811ca447826319598d8aba"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga28adf5c6b1811ca447826319598d8aba">UNS_32</a></td></tr>
<tr class="memitem:ga3a17614f3a1b67eaf20781d8ec16a652"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga3a17614f3a1b67eaf20781d8ec16a652">INT_32</a></td></tr>
<tr class="memitem:ga1a0aab29eee6b306564084e005fa5750"><td class="memItemLeft" align="right" valign="top">typedef int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga1a0aab29eee6b306564084e005fa5750">INT_64</a></td></tr>
<tr class="memitem:ga2299199b92f0535ad8c2e2d8c7c7f09b"><td class="memItemLeft" align="right" valign="top">typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga2299199b92f0535ad8c2e2d8c7c7f09b">UNS_64</a></td></tr>
<tr class="memitem:gae82ce7bbea976c0646ed6458705df2ae"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___l_p_c___types___public___types.html#ga39db6982619d623273fad8a383489309">Bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gae82ce7bbea976c0646ed6458705df2ae">BOOL_32</a></td></tr>
<tr class="memitem:gaa14120a3f1d4674cce6060fe093abde0"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___l_p_c___types___public___types.html#ga39db6982619d623273fad8a383489309">Bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gaa14120a3f1d4674cce6060fe093abde0">BOOL_16</a></td></tr>
<tr class="memitem:gaefbcf737e3e031d1b6522b4cd079a292"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___l_p_c___types___public___types.html#ga39db6982619d623273fad8a383489309">Bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gaefbcf737e3e031d1b6522b4cd079a292">BOOL_8</a></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga39db6982619d623273fad8a383489309"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga39db6982619d623273fad8a383489309">Bool</a> { <b>FALSE</b> =  0, 
<b>TRUE</b> =  !FALSE
 }</td></tr>
<tr class="memdesc:ga39db6982619d623273fad8a383489309"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boolean Type definition. <br/></td></tr>
<tr class="memitem:ga89136caac2e14c55151f527ac02daaff"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga89136caac2e14c55151f527ac02daaff">FlagStatus</a> { <b>RESET</b> =  0, 
<b>SET</b> =  !RESET
 }</td></tr>
<tr class="memdesc:ga89136caac2e14c55151f527ac02daaff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag Status and Interrupt Flag Status type definition. <br/></td></tr>
<tr class="memitem:gac9a7e9a35d2513ec15c3b537aaa4fba1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gac9a7e9a35d2513ec15c3b537aaa4fba1">FunctionalState</a> { <b>DISABLE</b> =  0, 
<b>ENABLE</b> =  !DISABLE
 }</td></tr>
<tr class="memdesc:gac9a7e9a35d2513ec15c3b537aaa4fba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functional State Definition. <br/></td></tr>
<tr class="memitem:ga67a0db04d321a74b7e7fcfd3f1a3f70b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#ga67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> { <b>ERROR</b> =  0, 
<b>SUCCESS</b> =  !ERROR
 }</td></tr>
<tr class="memitem:gaddb88bff95842be0c54e0e979f45cf95"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_c___types___public___types.html#gaddb88bff95842be0c54e0e979f45cf95">TRANSFER_BLOCK_Type</a> { <a class="el" href="group___l_p_c___types___public___types.html#ggaddb88bff95842be0c54e0e979f45cf95ae00130e64382c35d172d226b79aa9acb">NONE_BLOCKING</a> =  0, 
<a class="el" href="group___l_p_c___types___public___types.html#ggaddb88bff95842be0c54e0e979f45cf95a854a1cd6e3a98db9e290dddea29725e7">BLOCKING</a>
 }</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Contains the NXP ABL typedefs for C standard types. It is intended to be used in ISO C conforming development environments and checks for this insofar as it is possible to do so. </p>
<dl class="section version"><dt>Version:</dt><dd>2.0 </dd></dl>
<dl class="section date"><dt>Date:</dt><dd>27 Jul. 2008 </dd></dl>
<dl class="section author"><dt>Author:</dt><dd>NXP MCU SW Application Team</dd></dl>
<p>Copyright(C) 2008, NXP Semiconductor All rights reserved.</p>
<p>Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification. </p>
</div></div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 21 2012 11:14:53 for ServoCtrl by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
